package com.itheima.service;

import com.itheima.domain.EmpQueryParam;
import com.itheima.domain.PageResult;
import com.itheima.domain.pojo.Emp;
import com.itheima.domain.pojo.LoginInfo;
import org.w3c.dom.stylesheets.LinkStyle;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface EmpService {
    PageResult<Emp> page(EmpQueryParam empQueryParam );


    void save(Emp emp);

    void delete(List<Integer> ids);

    Emp get(Integer id);

    void update(Emp emp);

    List<Emp> lists();


    LoginInfo login(Map<String, Object> logInfoMap);
}
